package visualcbir;

import java.awt.Component;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import javax.swing.JPanel;

/**
 *
 * @author sheila
 */
public class PnlControls extends JPanel{
    private JPanel pnlnorte;

    public PnlControls(){
        pnlnorte=new JPanel(new GridLayout(3,1,0,2) );
        
        this.setLayout(new FlowLayout());
        this.add(pnlnorte);
        pnlnorte.setVisible(true);
        setVisible(true);                
    }

    public void addComponent(Component comp){
        this.pnlnorte.add(comp);        
    }
}
